package cn.com.fone.modules.api.common.split.strategy;

import java.util.Map;

/**
 * 策略类接口
 */
public interface Strategy {
    public static final String TABLE_NAME = "table_name";
    public static final String SPLIT_FIELD = "split_field";
    public static final String EXECUTE_PARAM_DECLARE = "execute_param_declare";
    public static final String EXECUTE_PARAM_VALUES = "execute_param_values";
    public static final String STRATEGY ="strategy";
    /**
     * 根据不同策略获取不同表名
     */
    public String splitTable(Map<String, Object> params) throws Exception;
}
